package com.wn.production.service;

import com.wn.common.PageBean;
import com.wn.entity.WorkOrder;
import com.wn.production.vo.WorkOrderVo;

import java.util.List;

/**
 * @ author     ：ZC
 * @ date       ：Created in 2022/10/24 17点20分
 * @ description：工单表表Mapper
 */
public interface WorkOrderService {
    /**
     * @param workOrder
     * @return void
     * @ author zc
     * @ date 2022/10/24 17点21分
     * @ Description 增加工单
     */
    void insert(WorkOrder workOrder);
    /**
     * @param workOrderVo
     * @return java.util.List<com.wn.entity.WorkOrder>
     * @ author zc
     * @ date 2022/10/24 17点48分
     * @ Description 多条件分页查询工单信息
     */
    PageBean<WorkOrder> getByCondition(WorkOrderVo workOrderVo);

    List<WorkOrder> getByConditionn(WorkOrder workOrder);

    /**
     * @return java.util.List<com.wn.entity.WorkOrder>
     * @ author zc
     * @ date 2022/10/24 17点48分
     * @ Description 查询全部工单信息
     */
    PageBean<WorkOrder> getAll(WorkOrderVo workOrderVo);
    /**
     * @param workOrder
     * @return void
     * @ author zc
     * @ date 2022/10/24 17点21分
     * @ Description 修改工单状态及人员分配
     */
    void update(WorkOrder workOrder);

}
